﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EBA.MQ.Message
{
    public class ExecutionPayLoad : IPayLoad
    {
        public string Message
        {
            get;
            set;
        }

        public string FunctionName
        {
            get;
            set;
        }

        public string Serialize()
        {
            return Message;
        }

        public IPayLoad Deserialize(string message)
        {
            this.Message = message;
            return this;
        }
    }
}
